﻿using System.ComponentModel;
using System.Runtime.Serialization;

namespace KC.Framework.Base
{
    [DataContract]
    public enum OrganizationType
    {
        /// <summary>
        /// 内部企业
        /// </summary>
        [EnumMember]
        [Description("内部企业")]
        InternalCompany = 0,
        /// <summary>
        /// 注册企业
        /// </summary>
        [EnumMember]
        [Description("注册企业")]
        OutsideCompany = 1,
        /// <summary>
        /// 注册用户
        /// </summary>
        [EnumMember]
        [Description("注册用户")]
        Person = 2,
        /// <summary>
        /// 采购商
        /// </summary>
        [EnumMember]
        [Description("采购商")]
        PurchaseCompany = 4,
        /// <summary>
        /// 供应商
        /// </summary>
        [EnumMember]
        [Description("供应商")]
        SaleCompany = 8,
        /// <summary>
        /// 资金提供方
        /// </summary>
        [EnumMember]
        [Description("资金提供方")]
        Bank = 16,
    }
}
